home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_0799 / 481 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  1.4 KB

  1. From: Claus Brod <clausb@hpbeo79.bbn.hp.com>
  2. Subject: mint-aware HD driver
  3. Date: Fri, 10 Sep 93 16:06:44 MESZ
  4. Mailer: Elm [revision: 70.85]
  5.  
  6. > I was thinking about the problems with interrupt driven HD drivers,
  7. > that cause mint not to block while doing disk access.
  8. > One problem is that we would need a kind of semaphore for the dma hardware
  9. > as it has to be locked against duplicate accesses at the same time.
  10.  
  11. This is not a problem at all if we have a general /dev/scsi driver.
  12. In this case, any process that wants to access SCSI hardware
  13. directly would Fopen() that driver, and MiNT could apply its
  14. usual restrictions against multiple access. We don't need semaphores
  15. if there is only *one* official SCSI driver. Such a driver should,
  16. however, probably have a Fcntl() mode to query its status, i.e. if
  17. the SCSI channel is currently used by it.
  18.  
  19. > What do you think about it?
  20.  
  21. I think this is one of the less important problems. It's much more
  22. important to have a reentrant GEMDOS, or else the whole project
  23. comes to a grinding halt. That's exactly the point where my own driver
  24. currently is. I haven't found the time yet to implement such a thing
  25. in the MiNT kernel myself.
  26.  
  27. --clausb@hpbeo79.bbn.hp.com-----------------------------------------------
  28. Claus Brod, MDD, HP Boeblingen      Magic is real unless declared integer.
  29. --#include <std_disclaimer>-----------------------------------------------
  30.